.clear::before,
.clear::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  line-height: 0;
  clear: both;
  visibility: hidden;
}
* {
  padding: 0;
  margin: 0;
}
div,
h6,
h5,
h4,
h3,
h2,
h1,
a,
form,
input,
ul,
li,
span {
  display: block;
  box-sizing: border-box;
}
ul {
  list-style: none;
}
a {
  color: #666;
  text-decoration: none;
}
.layout {
  width: 100% ;
  max-width: 640px;
  background-color: #eee;
}
.layout > .jd_top {
  width: 100%;
  height: 40px;
  background-color: rgba(233, 35, 34, 0);
  position: fixed;
  padding-left: 76px;
  padding-right: 50px;
  overflow: hidden;
  z-index: 999;
}
.layout > .jd_top > .a_left {
  width: 56px;
  height: 30px;
  background: url("../img/jd-sprites.png");
  background-size: 200px 200px;
  background-position: 0px -108px;
  position: absolute;
  top: 7px;
  left: 10px;
  text-align: center;
  line-height: 30px;
}
.layout > .jd_top > form {
  width: 100%;
}
.layout > .jd_top > form::before {
  content: "";
  width: 27px;
  height: 23px;
  position: absolute;
  background: url(../img/jd-sprites.png);
  background-size: 200px 200px;
  background-position: -56px -108px;
  left: 80px;
  top: 9px;
}
.layout > .jd_top > form > input {
  width: 100%;
  height: 30px;
  margin-top: 5px;
  outline: none;
  border: none;
  border-radius: 15px;
  padding-left: 30px;
}
.layout > .jd_top > .a_right {
  position: absolute;
  right: 5px;
  top: 0;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  color: #fff;
}
.layout > .jd_banner {
  width: 100%;
  position: relative;
  overflow: hidden;
  top: 0;
  left: 0;
}
.layout > .jd_banner > .banner_img {
  position: relative;
  width: 800%;
}
.layout > .jd_banner > .banner_img > li {
  float: left;
  width: 12.5%;
}
.layout > .jd_banner > .banner_img > li img {
  width: 100%;
  vertical-align: bottom;
}
.layout > .jd_banner > .banner_circle {
  height: 10px;
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
}
.layout > .jd_banner > .banner_circle > li {
  float: left;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid #fff;
  margin-right: 10px;
}
.layout > .jd_banner > .banner_circle > li:last-of-type {
  margin-right: 0;
}
.layout > .jd_banner > .banner_circle > .active {
  background-color: #fff;
}
.layout > .jd_nav {
  width: 100%;
  background-color: #fff;
}
.layout > .jd_nav > ul {
  width: 100%;
}
.layout > .jd_nav > ul > li {
  width: 25%;
  float: left;
  text-align: center;
  margin-top: 15px;
}
.layout > .jd_nav > ul > li img {
  width: 50px;
  display: inline-block;
}
.layout > .jd_nav > ul > li p {
  color: #666;
  font-size: 14px;
}
.layout > .jd_quickKill {
  width: 100%;
  background-color: #fff;
  margin-top: 10px;
}
.layout > .jd_quickKill > .kill_top {
  width: 100%;
  height: 30px;
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
}
.layout > .jd_quickKill > .kill_top .top_left {
  float: left;
}
.layout > .jd_quickKill > .kill_top .top_left > .clock {
  float: left;
  width: 16px;
  height: 20px;
  background: url("../img/seckill-icon.png");
  background-size: 16px 20px;
  margin-right: 10px;
}
.layout > .jd_quickKill > .kill_top .top_left > .kill {
  float: left;
  color: #e92322;
  margin-right: 10px;
}
.layout > .jd_quickKill > .kill_top .top_left > .time {
  float: left;
}
.layout > .jd_quickKill > .kill_top .top_left > .time span {
  display: inline-block;
  width: 13px;
  height: 18px;
  background-color: #000;
  color: #fff;
  text-align: center;
  line-height: 18px;
}
.layout > .jd_quickKill > .kill_top .top_left > .time span:nth-of-type(3),
.layout > .jd_quickKill > .kill_top .top_left > .time span:nth-of-type(6) {
  width: 6px;
  color: #000;
  background-color: transparent;
}
.layout > .jd_quickKill > .kill_top .top_right {
  float: right;
  font-size: 14px;
  color: #666;
}
.layout > .jd_quickKill > .kill_bottom {
  width: 100%;
  padding-top: 30px;
}
.layout > .jd_quickKill > .kill_bottom > ul {
  width: 100%;
}
.layout > .jd_quickKill > .kill_bottom > ul > li {
  float: left;
  width: 33.33%;
  text-align: center;
}
.layout > .jd_quickKill > .kill_bottom > ul > li img {
  width: 60%;
  display: inline-block;
}
.layout > .jd_quickKill > .kill_bottom > ul > li p {
  color: #000;
  font-size: 12px;
}
.layout > .jd_supermarket {
  width: 100%;
  background-color: #fff;
}
.layout > .jd_supermarket > .market_top {
  width: 100%;
  height: 30px;
  line-height: 30px;
  margin-top: 20px;
  border-bottom: 1px solid #ccc;
}
.layout > .jd_supermarket > .market_top > h3 {
  color: #666;
  font-size: 14px;
  margin-left: 30px;
}
.layout > .jd_supermarket > .market_bottom {
  width: 100%;
  border-bottom: 1px solid #ccc;
}
.layout > .jd_supermarket > .market_bottom > a {
  width: 50%;
  float: left;
  border-left: 1px solid #ccc;
}
.layout > .jd_supermarket > .market_bottom > a > img {
  width: 100%;
  display: block;
}
.layout > .jd_supermarket > .market_bottom a:first-of-type {
  border-left: none;
}
.layout > .jd_supermarket > .market_bottom a:nth-of-type(2) {
  border-bottom: 1px solid #ccc;
}
